<?php
/**
 * Created by PhpStorm.
 * User: longyu
 * Date: 2016/6/2
 * Time: 16:21
 */
require "redis.php";
$id=$_GET["id"];
$redis->del("user:$id");
$redis->lRem("uid",$id);
header("location:list.php");